﻿using AutoMapper;
using Max.PH5_2006.ShoppingSite.Domain;
using Max.PH5_2006.ShoppingSite.IRespository;
using Max.PH5_2006.ShoppingSite.IService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2006.ShoppingSite.Service
{
    public class CategoryService : BaseService<CategoryEntity, CategoryEntity, CategoryEntity>, ICategoryService
    {
        public CategoryService(ICategoryRespository respository, IMapper map) : base(respository, map)
        {
        }
    }


    public class SPUService : BaseService<SPUEntity, SPUEntity, SPUEntity>, ISPUService
    {
        public SPUService(ISPURespository respository, IMapper map) : base(respository, map)
        {
        }
    }
    public class BrandService : BaseService<BrandEntity, BrandEntity, BrandEntity>, IBrandService
    {
        public BrandService(IBrandRespository respository, IMapper map) : base(respository, map)
        {
        }
    }
    public class SKUService : BaseService<SKUEntity, SKUEntity, SKUEntity>, ISKUService
    {
        public SKUService(ISKURespository respository, IMapper map) : base(respository, map)
        {
        }
    }
    public class SKUImageService : BaseService<SKUImageEntity, SKUImageEntity, SKUImageEntity>, ISKUImageService
    {
        public SKUImageService(ISKUImageRespository respository, IMapper map) : base(respository, map)
        {
        }
    }
    public class DictionaryService : BaseService<DictionaryEntity, DictionaryEntity, DictionaryEntity>, IDictionaryService
    {
        public DictionaryService(IDictionaryRespository respository, IMapper map) : base(respository, map)
        {
        }
    }

}
